<template>
	<div class="wrapper">
		<div class="dis" style="height: 100vh;">
			<img src="@/assets/terminal/successful.png" alt="" style="width: 82px;height: 82px;" class="successful" />
			<div class="" style="color: #333;position: absolute;top: 34%;font-size: 24px;">
				签约成功
			</div>
		</div>

	</div>
</template>

<script>
	import {
		updateAgentYhsSignStatus
	} from '@/api/terminal'
	import store from '@/store'
	import {
		showToast
	} from 'vant'
	import {
		useRoute,
		useRouter,
		RouterView
	} from 'vue-router'
	import {
		defineComponent,
		reactive,
		toRefs,
		ref,
		onMounted
	} from 'vue';
	export default defineComponent({
		name: 'sateActive',
		setup() {
			// const router = useRouter()
			const state = reactive({
				agentNo: ""
			})
			const getFindPageList = () => {
				let parames = {
					agentNo:state.agentNo
				}
				updateAgentYhsSignStatus(parames).then(res => {
					
				})
			}
			getFindPageList()
			onMounted(() => {
				// 从 URL 的查询参数中获取 agentNo
				state.agentNo = route.query.agentNo;
			});
			return {
				...toRefs(state),
				getFindPageList
			}
		}
	})
</script>
<style scoped lang="scss">
	.wrapper {
		width: 100%;
		height: 100%;
		min-height: 100vh;
		background-color: #fff;

		.successful {
			position: absolute;
			top: 20%;
		}
	}
</style>